package com.api.action.v1;

import com.api.service.v1.ApkAPIService;
import com.bean.ResponseBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

@RestController
@RequestMapping("/api/v1")
public class ApkAPIAction {

	@Autowired
	private ApkAPIService apkapiservice;
	
	@RequestMapping("/getapk")
	@CrossOrigin("*")
	public ResponseBean findapkall() throws IOException {
		
		return  apkapiservice.findapk();
	}
}
